//
//  Shader.vsh
//
//  Created by Jon Slater on 03/08/2012.
//  Copyright (c) 2012 Jon Slater. All rights reserved.
//

attribute vec2 a_position;
attribute vec4 a_colour;

uniform mat4 u_mvpMatrix;

varying vec4 v_colour;

void main()
{
    v_colour = a_colour;
    gl_Position = u_mvpMatrix * vec4(a_position, 0, 1);
}
